import React from 'react';

/**
 * @author liyuan
 * @date 06-04 15:57:47
 * @desc 错误边界,路由错误时候显示
 */
const ErrorBoundary = () => {
  return (
    <div>
      <h1>Error</h1>
    </div>
  );
};
export default ErrorBoundary;
